//
//  LYSaveTool.m
//  lottery
//
//  Created by 赵国腾的MacBook Pro on 16/6/27.
//  Copyright © 2016年 赵国腾. All rights reserved.
//

#import "LYSaveTool.h"

@implementation LYSaveTool

+ (nullable id)objectForKey:(NSString *)defaultName {
    
    return [[NSUserDefaults standardUserDefaults] valueForKey:defaultName];
}

+ (void)setObject:(nullable id)value forKey:(NSString *)defaultName {
    
    [[NSUserDefaults standardUserDefaults] setObject:value forKey:defaultName];
}

@end
